import Vue from 'vue';
import Vuex from 'vuex';
import login from '../store/login/login.js'
Vue.use(Vuex)

const store = new Vuex.Store({
	state: {
		tabindex: 0,
		tabpage: ''
	},
	mutations: {
		changevalue(state, payload) {
			state.tabindex = payload
		},
		changetabpage(state, payload) {
			state.tabpage = payload
		},
	},
	actions: {

	},
	getters: {},
	modules: {
		login
	}
})

export default store
